package com.ctshk.rpc.system.req.main.data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 系统消息表
 * </p>
 *
 * @author
 * @since 2020-12-28
 */
@Data
@ApiModel(value="MainDataTourTemplateReq对象", description="系列团--模板对象")
public class MainDataTourTemplateReq implements Serializable {

    @ApiModelProperty(value = "模板id")
    private Long id;

    @NotNull(message = "模板类型不能为空")
    @ApiModelProperty(value = "模板类型 (1:团费包括 2：团费不包括  3：报名须知 4：模板)",required = true)
    private Integer type;

    @NotNull(message = "模板名称不能为空")
    @ApiModelProperty(value = "模板名称",required = true)
    private String name;

    @NotNull(message = "模板内容不能为空")
    @ApiModelProperty(value = "模板内容",required = true)
    private String content;

    @ApiModelProperty(value = "是否禁用（0：无效 1：有效）")
    private Integer status;

}
